<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dream_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dream_id" data-rule="required" data-source="dream/index" class="form-control selectpage" name="row[dream_id]" type="text" value="{$row.dream_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-username" class="form-control" name="row[username]" type="text" value="{$row.username|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Openid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-openid" class="form-control" name="row[openid]" type="text" value="{$row.openid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_openid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_openid" class="form-control" name="row[wx_openid]" type="text" value="{$row.wx_openid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_app_openid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_app_openid" class="form-control" name="row[wx_app_openid]" type="text" value="{$row.wx_app_openid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sex')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sex" class="form-control" name="row[sex]" type="number" value="{$row.sex|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pic')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-pic" class="form-control" size="50" name="row[pic]" type="text" value="{$row.pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-pic" class="btn btn-danger faupload" data-input-id="c-pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-pic" class="btn btn-primary fachoose" data-input-id="c-pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-pic"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-pic"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-email" class="form-control" name="row[email]" type="text" value="{$row.email|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Birthday')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-birthday" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[birthday]" type="text" value="{$row.birthday}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Signature_des')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-signature_des" class="form-control " rows="5" name="row[signature_des]" cols="50">{$row.signature_des|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-password" class="form-control" name="row[password]" type="text" value="{$row.password|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bg_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-bg_image" class="form-control" size="50" name="row[bg_image]" type="text" value="{$row.bg_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-bg_image" class="btn btn-danger faupload" data-input-id="c-bg_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-bg_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-bg_image" class="btn btn-primary fachoose" data-input-id="c-bg_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-bg_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-bg_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fans_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fans_num" class="form-control" name="row[fans_num]" type="number" value="{$row.fans_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Follow_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-follow_num" class="form-control" name="row[follow_num]" type="number" value="{$row.follow_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Star_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-star_num" class="form-control" name="row[star_num]" type="number" value="{$row.star_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_exp')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_exp" class="form-control" name="row[user_exp]" type="number" value="{$row.user_exp|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Writer_exp')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-writer_exp" class="form-control" name="row[writer_exp]" type="number" value="{$row.writer_exp|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wallet')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wallet" class="form-control" step="0.01" name="row[wallet]" type="number" value="{$row.wallet|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-amount" class="form-control" step="0.01" name="row[amount]" type="number" value="{$row.amount|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Commission')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-commission" class="form-control" step="0.01" name="row[commission]" type="number" value="{$row.commission|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('With_drawable')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-with_drawable" class="form-control" step="0.01" name="row[with_drawable]" type="number" value="{$row.with_drawable|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ssq')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ssq" class="form-control" name="row[ssq]" type="text" value="{$row.ssq|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tinymce')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-tinymce" class="form-control " rows="5" name="row[tinymce]" cols="50">{$row.tinymce|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tinymce2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-tinymce2" class="form-control " rows="5" name="row[tinymce2]" cols="50">{$row.tinymce2|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_tags')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_tags" class="form-control" data-role="tagsinput" name="row[user_tags]" type="text" value="{$row.user_tags|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Like_writer_tags')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-like_writer_tags" class="form-control" data-role="tagsinput" name="row[like_writer_tags]" type="text" value="{$row.like_writer_tags|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Like_content_tags')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-like_content_tags" class="form-control" data-role="tagsinput" name="row[like_content_tags]" type="text" value="{$row.like_content_tags|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_vip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_vip" class="form-control" name="row[is_vip]" type="number" value="{$row.is_vip|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_writer')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_writer" class="form-control" name="row[is_writer]" type="number" value="{$row.is_writer|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Writer_tags')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-writer_tags" class="form-control" data-role="tagsinput" name="row[writer_tags]" type="text" value="{$row.writer_tags|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Writer_diy_tags')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-writer_diy_tags" class="form-control" data-role="tagsinput" name="row[writer_diy_tags]" type="text" value="{$row.writer_diy_tags|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Writer_diy_tags_tes')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-writer_diy_tags_tes" class="form-control " rows="5" name="row[writer_diy_tags_tes]" cols="50">{$row.writer_diy_tags_tes|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_home_label')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_home_label" class="form-control" name="row[is_home_label]" type="number" value="{$row.is_home_label|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Home_label_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-home_label_type" class="form-control" name="row[home_label_type]" type="number" value="{$row.home_label_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Home_label_one')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-home_label_one" class="form-control" name="row[home_label_one]" type="text" value="{$row.home_label_one|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Home_label_two')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-home_label_two" class="form-control" name="row[home_label_two]" type="text" value="{$row.home_label_two|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Home_label_bg_color')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-home_label_bg_color" class="form-control" name="row[home_label_bg_color]" type="text" value="{$row.home_label_bg_color|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Home_label_bg_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-home_label_bg_img" class="form-control" name="row[home_label_bg_img]" type="text" value="{$row.home_label_bg_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" class="form-control" name="row[status]" type="number" value="{$row.status|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_name" class="form-control" name="row[id_name]" type="text" value="{$row.id_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_card" class="form-control" name="row[id_card]" type="text" value="{$row.id_card|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_sex')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_sex" class="form-control" name="row[id_sex]" type="text" value="{$row.id_sex|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_auth')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_auth" class="form-control" name="row[is_auth]" type="number" value="{$row.is_auth|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shengri')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shengri" class="form-control" name="row[shengri]" type="text" value="{$row.shengri|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_auth_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_auth_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[is_auth_time]" type="text" value="{:$row.is_auth_time?datetime($row.is_auth_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_shuiyin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_shuiyin" class="form-control" name="row[is_shuiyin]" type="number" value="{$row.is_shuiyin|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_fensi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_fensi" class="form-control" name="row[is_fensi]" type="number" value="{$row.is_fensi|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_gaunzhu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_gaunzhu" class="form-control" name="row[is_gaunzhu]" type="number" value="{$row.is_gaunzhu|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_tuijian')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_tuijian" min="0" class="form-control" name="row[is_tuijian]" type="number" value="{$row.is_tuijian|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_primsg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_primsg" class="form-control" name="row[is_primsg]" type="number" value="{$row.is_primsg|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Writer_diy_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-writer_diy_ids" data-rule="required" data-source="writer/diy/index" data-multiple="true" class="form-control selectpage" name="row[writer_diy_ids]" type="text" value="{$row.writer_diy_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Unionid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-unionId" class="form-control" name="row[unionId]" type="text" value="{$row.unionId|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_pai')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_pai" class="form-control" name="row[is_pai]" type="number" value="{$row.is_pai|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pai_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pai_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pai_time]" type="text" value="{:$row.pai_time?datetime($row.pai_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dream')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dream" class="form-control" name="row[dream]" type="number" value="{$row.dream|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tuan_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tuan_id" data-rule="required" data-source="tuan/index" class="form-control selectpage" name="row[tuan_id]" type="text" value="{$row.tuan_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('U_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-u_level" class="form-control" name="row[u_level]" type="number" value="{$row.u_level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('W_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-w_level" class="form-control" name="row[w_level]" type="number" value="{$row.w_level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tag_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tag_ids" data-rule="required" data-source="tag/index" data-multiple="true" class="form-control selectpage" name="row[tag_ids]" type="text" value="{$row.tag_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Q_flag')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-q_flag" class="form-control" name="row[q_flag]" type="number" value="{$row.q_flag|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sel_nick')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sel_nick" class="form-control" name="row[sel_nick]" type="number" value="{$row.sel_nick|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sel_dream')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sel_dream" class="form-control" name="row[sel_dream]" type="number" value="{$row.sel_dream|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sel_fens')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sel_fens" class="form-control" name="row[sel_fens]" type="number" value="{$row.sel_fens|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sel_guan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sel_guan" class="form-control" name="row[sel_guan]" type="number" value="{$row.sel_guan|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
